package com.example.mountainwalker.entity;

import lombok.Data;
import java.sql.Timestamp;

@Data
public class UserInfo {
    // 主键字段
    private Integer userId;                 // AUTO_INCREMENT PRIMARY KEY

    // 基本信息字段
    private String userName;               // NOT NULL
    private String userAvatar;
    private String signature;

    // 个人资料字段
    private Integer gender;                // TINYINT(1)
    private String contactPhone;
    private String personalIntroduction;    // TEXT
    private String userEmail;
    private java.sql.Date dateOfBirth;      // DATE

    // 安全字段
    private String password;               // NOT NULL

    // 时间戳字段
    private Timestamp registrationTime;    // DATETIME NOT NULL
    private Timestamp modificationTime;    // DATETIME
}